<?php namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * App\OrderItem
 *
 * @property int $id
 * @property int $order_id 订单id
 * @property int $gid 商品id
 * @property string $type 订单类型
 * @property float $price 商品单价
 * @property string|null $size 商品尺寸
 * @property \Carbon\Carbon|null $created_at
 * @property \Carbon\Carbon|null $updated_at
 * @property string|null $deleted_at
 * @method static bool|null forceDelete()
 * @method static \Illuminate\Database\Query\Builder|\App\OrderItem onlyTrashed()
 * @method static bool|null restore()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\OrderItem whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\OrderItem whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\OrderItem whereGid($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\OrderItem whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\OrderItem whereOrderId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\OrderItem wherePrice($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\OrderItem whereSize($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\OrderItem whereType($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\OrderItem whereUpdatedAt($value)
 * @method static \Illuminate\Database\Query\Builder|\App\OrderItem withTrashed()
 * @method static \Illuminate\Database\Query\Builder|\App\OrderItem withoutTrashed()
 * @mixin \Eloquent
 * @property string|null $order_num 订单id
 * @property string|null $design_key 设计图的key
 * @method static \Illuminate\Database\Eloquent\Builder|\App\OrderItem whereDesignKey($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\OrderItem whereOrderNum($value)
 */
class OrderItem extends Model
{
    protected $table = 'order_item';
    use SoftDeletes;
}